﻿%form#scheduleform
  #content
    #scheduleoptions
      %input#date{type="hidden",name="date",value=((DateTime)ViewData["Date"]).ToString("dd.MM.yyyy")}
      %input#mode{type="hidden",name="mode",value="month"}
      %h1 Расписание: 
        =HTMLHelper.Select("scheduleid",ViewData["Schedules"] as IList<Schedule>,"name","id",ViewData["ScheduleId"], "px300 big")
      /#tabs
        %ul
          %li
            %a#amonth{href="javascript:setMode('month')"} Месяц
          %li
            %a#aweek{href="javascript:setMode('week')"} Неделя
          %li
            %a#aday{href="javascript:setMode('day')"} День
    #schedule
      _month
  #rightmenu
    #calendarholder.monthmode
    #periods
      _periods
    .spacer20
    #exceptions
      %a.dashed{href="#",onclick="return getScheduleExceptions()"} Показать дни-исключения